<!DOCTYPE HTML>
<html>
<head>
<#include "common.html"/>
<style type="text/css">

.long{
    width: 210px;
}

.short{
    width: 110px!important;
}

input[name='param']{
    width: 100px;
}
</style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">

<#include "header.html"/>
<#include "menu.html"/>

    <div class="layui-body">


        <!-- 内容主体区域 -->
        <div style="padding: 15px">
            <fieldset class="layui-elem-field layui-field-title">
                <legend>${i18n.get("menu.artifact")}</legend>
            </fieldset>

            <form class="layui-form" id="searchForm" method="post">
                <div class="layui-form">

                    <div class="layui-col-md2"><div class="grid-demo">
                        <div class="layui-input-group">
                            <div class="layui-input-split layui-input-prefix">id</div>
                            <input type="text" name="artId" class="layui-input">
                        </div>
                    </div></div>

                    <div class="layui-col-md2"><div class="grid-demo">
                        <div class="layui-input-group">
                            <div class="layui-input-split layui-input-prefix">name</div>
                            <input type="text" name="artName" class="layui-input">
                        </div>
                    </div></div>

                    <div class="layui-col-md2"><div class="grid-demo">
                        <div class="layui-input-group">
                            <div class="layui-input-split layui-input-prefix">url</div>
                            <input type="text" name="artUrl" class="layui-input">
                        </div>
                    </div></div>



                    <hr class="layui-border-orange" style="border-color:rgba(255, 183, 0, 0)  !important">


                    <div class="layui-col-md2"><div class="grid-demo">
                        <div class="layui-input-group">
                            <div class="layui-input-split layui-input-prefix">auto</div>
                            <select name="artAutoJob">
                                <option value=""></option>
                                <option value="1">是</option>
                                <option value="0">否</option>
                            </select>
                        </div>
                    </div></div>

                    <div class="layui-col-md2"><div class="grid-demo">
                        <div class="layui-input-group">
                            <div class="layui-input-split layui-input-prefix">lock</div>
                            <select name="artLock">
                                <option value=""></option>
                                <option value="1">是</option>
                                <option value="0">否</option>
                            </select>
                        </div>
                    </div></div>
                    <div class="layui-col-md2"><div class="grid-demo">
                        <div class="layui-input-group">
                            <div class="layui-input-split layui-input-prefix">finalStatus</div>
                            <select name="finalStatus">
                                <option value=""></option>
                                <option value="1">成功</option>
                                <option value="2">异常</option>
                            </select>
                        </div>
                    </div></div>

                    <hr class="layui-border-orange" style="border-color:rgba(255, 183, 0, 0)  !important">
                    <!--                    <div class="layui-col-md2"><div class="grid-demo">-->
                    <!--                        <div class="layui-input-group">-->
                    <!--                            <div class="layui-input-split layui-input-prefix">label</div>-->
                    <!--                            <input type="text" name="label" class="layui-input">-->
                    <!--                        </div>-->
                    <!--                    </div></div>-->



                    <div class="layui-col-md2" style="margin-top:10px;margin-bottom:10px;"><div class="grid-demo">
                        <div class="layui-btn-container layui-col-xs12">

                            <button class="layui-btn layui-btn-sm" lay-submit lay-filter="demo-table-search">${i18n.get("commonStr.search")}</button>
                            <button class="layui-btn layui-btn-sm layui-btn-primary" type="reset" >${i18n.get("commonStr.clear")}</button>
                        </div>
                    </div></div>






                </div>
            </form>

            <table class="layui-hide" id="demo" lay-filter="test"></table>


        </div>
    </div>
</div>


<div style="height: 500px; width: 300px; overflow: hidden;">
    <!-- 弹出框 -->
    <div class="layui-form" id="windowDiv" style="padding: 15px; display: none">
        <form id="addForm1">
            <input type="hidden" name="u">

            <div class="layui-form-item" id="div_id" style="display: none">
                <label class="layui-form-label">id</label>
                <div class="layui-input-block">
                    <input type="text" name="id" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">name</label>
                <div class="layui-input-block">
                    <input type="text" name="name" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">url</label>
                <div class="layui-input-block">
                    <input type="text" name="url" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">自动下载</label>
                <div class="layui-input-block">
                    <input type="checkbox" name="autoJob" title="ON|OFF" lay-skin="switch" value="1" checked lay-filter="demo-checkbox-filter">
                </div>
            </div>


<!--            <div class="layui-form-item">-->
<!--                <label class="layui-form-label">apiKey</label>-->
<!--                <div class="layui-input-block">-->
<!--                    <input type="text" name="apiKey" class="layui-input">-->
<!--                </div>-->
<!--            </div>-->

<!--            <div class="layui-form-item">-->
<!--                <label class="layui-form-label">agentUrl</label>-->
<!--                <div class="layui-input-block">-->
<!--                    <input type="text" name="agentUrl" class="layui-input">-->
<!--                </div>-->
<!--            </div>-->


<!--            <div class="layui-form-item">-->
<!--                <label class="layui-form-label">agentApiKey</label>-->
<!--                <div class="layui-input-block">-->
<!--                    <input type="text" name="agentApiKey" class="layui-input">-->
<!--                </div>-->
<!--            </div>-->

            <div class="layui-form-item center">
                <button type="button" class="layui-btn layui-btn-normal" id="addOver">${i18n.get("commonStr.submit")}</button>
                <button type="button" class="layui-btn" onclick="layer.closeAll()">${i18n.get("commonStr.close")}</button>
            </div>
        </form>
    </div>

    <div class="layui-form" id="guideDiv" style="padding: 15px; display: none;">
        <form id="addForm3">

            <div class="layui-form-item">
                <label class="layui-form-label">${i18n.get("commonStr.data")}</label>
                <div class="layui-input-block">
                    <textarea name="data" placeholder="多行文本框" class="layui-textarea"></textarea>
                </div>
            </div>


            <div class="layui-form-item">
                <label class="layui-form-label">${i18n.get("commonStr.tips")}</label>
            <div class="layui-input-block">
<!--                多行文本,每行一条数据,格式为: <b>name,url,autoJob</b><br/>-->
                <pre class="layui-code code-demo" lay-options="{}">
zookeeper,https://archive.apache.org/dist/zookeeper/zookeeper-3.7.1/apache-zookeeper-3.7.1-bin.tar.gz,yes
rocketmq,https://archive.apache.org/dist/rocketmq/4.9.8/rocketmq-all-4.9.8-bin-release.zip,yes</pre>
            </div>
            </div>


            <div class="layui-form-item center">
                <button type="button" class="layui-btn layui-btn-normal" id="addOver3">${i18n.get("commonStr.submit")}</button>
                <button type="button" class="layui-btn" onclick="layer.closeAll()">${i18n.get("commonStr.close")}</button>
            </div>

        </form>
    </div>







</div>

<#include "script.html"/>
<script type="text/html" id="toolbarDemo">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="add"><i class="layui-icon  layui-icon-add-1"></i></button>
        <button class="layui-btn layui-btn-sm" lay-event="more">${i18n.get("commonStr.batch")}<i class="layui-icon layui-icon-down layui-font-12"></i></button>
        <button class="layui-btn layui-btn-sm" lay-event="deleteSelected" style="display: none"><i class="layui-icon  layui-icon-delete"></i></button>
        <button class="layui-btn layui-btn-sm" lay-event="getCheckData" style="display: none">获取选中行数据</button>
        <button class="layui-btn layui-btn-sm" lay-event="batchAdd">批量新增</button>
        <button class="layui-btn layui-btn-sm" lay-event="statusAll0" style="display: none">${i18n.get("commonStr.batchDisable")}</button>
        <span id="jwtDiv" class="layui-btn layui-btn-danger layui-btn-sm layui-btn-radius" style="display: none"></span>
    </div>
</script>

<script>
    var externalUrl="${externalUrl!}"
</script>

<script src="${ctx}/lib/base64/base64.js" type="text/javascript"></script>
<script src="${ctx}/js/admin/artifact/index.js?v=${jsrandom}" type="text/javascript"></script>
</body>
</html>